#include "AnimationDoneInternalEvent.h"
#include "MenuState.h"
#include "Well.h"

AnimationDoneInternalEvent::AnimationDoneInternalEvent(long id)
    : id(id)
{
}

AnimationDoneInternalEvent::~AnimationDoneInternalEvent()
{
}

GameState* AnimationDoneInternalEvent::visitMenuState(MenuState* menuState) const
{
    return menuState->handleAnimationDone();
}

void AnimationDoneInternalEvent::visitWell(Well* well) const
{
    well->handleAnimationDoneEvent(id);
}
